package com.seeyon.apps.hems.dao.impl;

import com.seeyon.apps.hems.dao.BatchLabelPrintingDao;
import com.seeyon.apps.hems.po.BatchLabelPrintingPO;
import com.seeyon.ctp.common.exceptions.BusinessException;
import com.seeyon.ctp.util.DBAgent;

public class BatchLabelPrintingDaoImpl implements BatchLabelPrintingDao {
    @Override
    public void save(BatchLabelPrintingPO batchLabelPrintingPO) throws BusinessException {
        DBAgent.save(batchLabelPrintingPO);
    }

    @Override
    public BatchLabelPrintingPO findDataById(Long id) throws BusinessException {
        return DBAgent.get(BatchLabelPrintingPO.class, id);
    }
}
